home *** CD-ROM | disk | FTP | other *** search
/ PC Direct 1995 May / PC Direct CD-ROM (May 1995).ISO / ipe / bri120e / disk1 / lib4esd.lib / NETXUP.SCR < prev    next >
Encoding:
Text File  |  1994-02-09  |  558 b   |  17 lines

  1. ;this script copies an updated NETX driver to the local
  2. ;workstation.  
  3. DEFINE "TEMP" STRING
  4. DEFINE "VALUE" STRING
  5. ;the script assumes the shell files are in the root directory.
  6. ;you can substitute an explicit path to the end user's shell
  7. ;files for [BOOT_ROOT] in the line below.
  8. FINDFILE [BOOT_ROOT] "NETX.*" TEMP
  9. NUMTOSTR VALUE [RETVAL]
  10. WRITELN VALUE
  11. IF [RETVAL] = 0
  12. RENAME [BOOT_ROOT] "NETX.*" [BOOT_ROOT] "*.OLD"
  13. ;substitute the source path for the new NETX file for "F:\test\" below
  14. COPY "F:\TEST\" "netx.*" [BOOT_ROOT] "netx.*"
  15. ENDIF
  16.  
  17.